/*
 * Author  : Leo <lipf160627@163.com>
 * Created : 2025-7-27
 * Desc    : Servo driver of PCA9685 which uses I2C protocol.
 */

#pragma once

#include <stdint.h>

#include "driver/gpio.h"

class Servo {
public:
    Servo(gpio_num_t pinSCL, gpio_num_t pinSDA);
    ~Servo();

private:
    gpio_num_t m_pinSCL;
    gpio_num_t m_pinSDA;

    void init();
};
